package com.itypd.pojo;

/*
 * @Description:
 * @Athor: GongMingwei
 * @version: v1.0
 */
public class SynchronizedTestObj {
    private int i = 0;
    public int getI() {
        return i;
    }

    public synchronized void increase() {
        this.i ++;
        System.out.println(i);
    }

}
